package com.elysia.newsservice.enumeration;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * 更新内容类型枚举
 */
@Getter
public enum VersionUpdateTypeEnum {
    NEW_CONTENT(1, "新增内容"),
    OPTIMIZATION(2, "优化项"),
    FIX(3, "修复项");
    @EnumValue
    private final Integer code;
    private final String desc;
    VersionUpdateTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
